<form method="POST" action='{% url account_login %}'>
{{form.username}}
{{form.password}}
<input type='submit' value='登陆'><input type='button' value='注册' onclick="window.location.href='{% url account_register %}'"><input type='button' value='重填'>
</form>